package cn.gcyl.module.biz.controller.admin.carouselimage.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 轮播图 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CarouselImageRespVO {

    @Schema(description = "轮播图id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10687")
    @ExcelProperty("轮播图id")
    private Long id;

    @Schema(description = "轮播图名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("轮播图名称")
    private String carouselName;

    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("显示顺序")
    private Integer sort;

    @Schema(description = "展示位置（0首页顶部 1首页中部）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("展示位置（0首页顶部 1首页中部）")
    private Integer displayLocation;

    @Schema(description = "显示状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("显示状态（0正常 1停用）")
    private Integer status;

    @Schema(description = "跳转路径")
    @ExcelProperty("跳转路径")
    private String jumpPath;

    @Schema(description = "跳转对象id", example = "12545")
    @ExcelProperty("跳转对象id")
    private Integer jumpId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;
    @Schema(description = "图片地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("图片地址")
    private String imagePath;

}